package edu.sctu.wulixia.month4and5.day20150515;

/**
 * Created by user05 on 2015/5/15.
 */
public class TestOne {
    Student_Info[] information = new Student_Info[10];

    public Student_Info[] print(){

        for (int i = 0; i < information.length; i++) {
            Student_Info information1 = new Student_Info();

            information1.setName("张三"+i);
            information1.setScore(56+i);
            information1.setNumber(10010 + i);
            information1.setAge(16 + i);
            information1.setAddress( "南充"+i);
            if(i%2 != 0){
                information1.setSex("男");
            }else{
                information1.setSex("女");
            }
            information[i] = information1;
        }
        return information;
    }
}
